package com.zyy.Household_expenditure.service;

import com.zyy.Household_expenditure.entity.HomeBill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyy.Household_expenditure.entity.vo.CountVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 */
public interface HomeBillService extends IService<HomeBill> {


    /**
     * 按月为单位，统计某个家庭成员某种消费类型的消费总额
     */
    List<CountVo> getMenBillTypeMonth(HttpServletRequest request, String month);



    List<CountVo> getMenBillTypeWeek(HttpServletRequest request,  String week,String month);


    List<HomeBill> getBillByUid(HttpServletRequest request);

    Map fyGetBillByUid(HttpServletRequest request, long current, long limit, HomeBill homeBill);

    Map fyByUid(HttpServletRequest request, long current, long limit);
}
